//
//  ContractListCell.m
//  NtoccShipper
//
//  Created by mac on 2019/12/27.
//  Copyright © 2019 zhuchongjin. All rights reserved.
//

#import "ContractListCell.h"
@interface ContractListCell()
@property (nonatomic,strong) CJLabel *labContractNum;
@property (nonatomic,strong) CJLabel *labShipper;
@property (nonatomic,strong) CJLabel *labMoney;
@property (nonatomic,strong) CJLabel *labTime;
@end
@implementation ContractListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setCellInfoWithModel:(ContractListModel *)model{
    self.labContractNum.text = model.contractNo;
    self.labShipper.text = model.shipperName;
    self.labMoney.text = @(model.amount).cj_money_description;
    self.labTime.text = model.gmtCreated;
}

- (void)btnTouchViewElectrSignAction{
    if (self.blockElectrSign) {
        self.blockElectrSign(@"");
    }
}

@end
